#ifndef __GRAPH
#define __GRAPH
#include <iostream>
#include "ServiceGraph.h"


struct edge
{
	double soil;
};

class Graph : ServiceGraph
{
public:
	edge *matrix;
	static const double InitSoil = 1.0;
	int n;
	void readGraph(std::istream &stream);
	void printGraph(std::ostream &stream);
	void makeGraph();
	std::vector<Service *> &getServiceNodes();
	Graph():matrix(0),n(0) {};
	~Graph();
};



#endif